.class public Lcom/xingbook/ting/fragment/TingPlayContentFragment;
.super Lcom/xingbook/ting/fragment/TingPlayFlipFragment;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/xingbook/service/download/f;


# instance fields
.field a:Lcom/xingbook/ting/fragment/o;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Lcom/xingbook/ting/lyric/LyricView;

.field private e:Lcom/xingbook/ting/lyric/a;

.field private f:Landroid/widget/ImageView;

.field private g:Landroid/widget/ImageView;

.field private h:Landroid/widget/ImageView;

.field private i:Landroid/widget/ImageView;

.field private j:Landroid/view/View;

.field private k:Landroid/view/View;

.field private l:Landroid/view/View;

.field private m:Landroid/widget/LinearLayout;

.field private n:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

.field private o:Lcom/xingbook/ting/receiver/TingOptionReceiver;

.field private p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

.field private q:Lcom/xingbook/ting/lyric/d;

.field private r:Lcom/xingbook/ting/fragment/p;

.field private s:Landroid/app/ProgressDialog;

.field private t:Lcom/xingbook/park/receiver/RecommendReceiver;

.field private u:Lcom/xingbook/park/receiver/CollectReceiver;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayFlipFragment;-><init>()V

    iput-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->n:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    iput-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->o:Lcom/xingbook/ting/receiver/TingOptionReceiver;

    iput-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    new-instance v0, Lcom/xingbook/ting/fragment/o;

    invoke-direct {v0, p0}, Lcom/xingbook/ting/fragment/o;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->a:Lcom/xingbook/ting/fragment/o;

    new-instance v0, Lcom/xingbook/ting/fragment/p;

    invoke-direct {v0, p0}, Lcom/xingbook/ting/fragment/p;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->r:Lcom/xingbook/ting/fragment/p;

    iput-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->s:Landroid/app/ProgressDialog;

    new-instance v0, Lcom/xingbook/park/receiver/CollectReceiver;

    new-instance v1, Lcom/xingbook/ting/fragment/f;

    invoke-direct {v1, p0}, Lcom/xingbook/ting/fragment/f;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    invoke-direct {v0, v1}, Lcom/xingbook/park/receiver/CollectReceiver;-><init>(Lcom/xingbook/park/receiver/a;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->u:Lcom/xingbook/park/receiver/CollectReceiver;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g:Landroid/widget/ImageView;

    return-object v0
.end method

.method private a(Landroid/view/View;F)V
    .locals 3

    const/high16 v2, 0x442f

    const v0, 0x7f0a0222

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->b:Landroid/widget/TextView;

    const v0, 0x7f0a0229

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/xingbook/ting/lyric/LyricView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->d:Lcom/xingbook/ting/lyric/LyricView;

    const v0, 0x7f0a0224

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->f:Landroid/widget/ImageView;

    const v0, 0x7f0a0225

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g:Landroid/widget/ImageView;

    const v0, 0x7f0a0226

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h:Landroid/widget/ImageView;

    const v0, 0x7f0a0227

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    const v1, -0x333334

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    mul-float v1, v2, p2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    mul-float v1, v2, p2

    float-to-int v1, v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    const v0, 0x7f0a0223

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->j:Landroid/view/View;

    const v0, 0x7f0a0221

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->m:Landroid/widget/LinearLayout;

    const v0, 0x7f0a0228

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->k:Landroid/view/View;

    const v0, 0x7f0a022b

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->c:Landroid/widget/TextView;

    const v0, 0x7f0a022a

    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->l:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->l:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->k:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    return-void
.end method

.method private a(Lcom/xingbook/audio/b/b;)V
    .locals 9

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->r:Lcom/xingbook/ting/fragment/p;

    const/16 v1, 0x9

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/fragment/p;->sendEmptyMessage(I)Z

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->i()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    const/4 v2, -0x1

    const/4 v4, 0x1

    const/4 v5, 0x0

    new-instance v6, Lcom/xingbook/c/f;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->e()Lcom/xingbook/ting/fragment/q;

    move-result-object v7

    invoke-virtual {p1}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v8

    invoke-direct {v6, v7, v8}, Lcom/xingbook/c/f;-><init>(Lcom/xingbook/c/g;Ljava/lang/Object;)V

    move v7, v3

    invoke-static/range {v0 .. v7}, Lcom/xingbook/c/k;->a(Ljava/lang/String;Landroid/widget/ImageView;IZZFLcom/xingbook/c/f;Z)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ting/fragment/TingPlayContentFragment;Lcom/xingbook/audio/b/b;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->a(Lcom/xingbook/audio/b/b;)V

    return-void
.end method

.method static synthetic a(Lcom/xingbook/ting/fragment/TingPlayContentFragment;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->a(Ljava/lang/String;)V

    return-void
.end method

.method private a(Ljava/lang/String;)V
    .locals 4

    if-eqz p1, :cond_0

    const-string v0, ""

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-static {p1}, Lcom/xingbook/audio/b/b;->g(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcn/a/a/d/j;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/io/File;

    new-instance v2, Ljava/lang/StringBuilder;

    sget-object v3, Lcom/xingbook/park/c/a;->G:Ljava/lang/String;

    invoke-static {v3}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-direct {v1, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    goto :goto_0
.end method

.method private a(Ljava/lang/String;I)V
    .locals 2

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/ting/fragment/k;

    invoke-direct {v1, p0, p1, p2}, Lcom/xingbook/ting/fragment/k;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;Ljava/lang/String;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->b:Landroid/widget/TextView;

    return-object v0
.end method

.method private b(Ljava/lang/String;I)V
    .locals 2

    sget-object v0, Lcom/xingbook/c/o;->h:Ljava/util/concurrent/ExecutorService;

    new-instance v1, Lcom/xingbook/ting/fragment/l;

    invoke-direct {v1, p0, p1, p2}, Lcom/xingbook/ting/fragment/l;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;Ljava/lang/String;I)V

    invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic d(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->f:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic e(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Lcom/xingbook/ting/lyric/a;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->e:Lcom/xingbook/ting/lyric/a;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Lcom/xingbook/ting/fragment/p;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->r:Lcom/xingbook/ting/fragment/p;

    return-object v0
.end method

.method private f()V
    .locals 2

    new-instance v0, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    new-instance v1, Lcom/xingbook/ting/fragment/h;

    invoke-direct {v1, p0}, Lcom/xingbook/ting/fragment/h;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;-><init>(Lcom/xingbook/ting/receiver/d;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->n:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->n:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->a(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->o:Lcom/xingbook/ting/receiver/TingOptionReceiver;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/ting/receiver/TingOptionReceiver;

    new-instance v1, Lcom/xingbook/ting/fragment/i;

    invoke-direct {v1, p0}, Lcom/xingbook/ting/fragment/i;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/TingOptionReceiver;-><init>(Lcom/xingbook/ting/receiver/c;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->o:Lcom/xingbook/ting/receiver/TingOptionReceiver;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->o:Lcom/xingbook/ting/receiver/TingOptionReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingOptionReceiver;->a(Landroid/content/Context;)V

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->j()V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->u:Lcom/xingbook/park/receiver/CollectReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/receiver/CollectReceiver;->a(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic g(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->l:Landroid/view/View;

    return-object v0
.end method

.method private g()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    new-instance v1, Lcom/xingbook/ting/fragment/j;

    invoke-direct {v1, p0}, Lcom/xingbook/ting/fragment/j;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    invoke-direct {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;-><init>(Lcom/xingbook/ting/receiver/b;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;->a(Landroid/content/Context;)V

    return-void
.end method

.method static synthetic h(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->c:Landroid/widget/TextView;

    return-object v0
.end method

.method private h()V
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->s:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->s:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->s:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method static synthetic i(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Lcom/xingbook/ting/lyric/d;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->q:Lcom/xingbook/ting/lyric/d;

    return-object v0
.end method

.method private i()V
    .locals 4

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v0

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->s()I

    move-result v1

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v2

    new-instance v3, Lcom/xingbook/ting/fragment/m;

    invoke-direct {v3, p0, v0}, Lcom/xingbook/ting/fragment/m;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;Lcom/xingbook/audio/b/b;)V

    invoke-static {v1, v2, v3}, Lcom/xingbook/park/d/n;->a(ILjava/lang/String;Lcom/xingbook/park/d/q;)V

    goto :goto_0
.end method

.method static synthetic j(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)Lcom/xingbook/ting/lyric/LyricView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->d:Lcom/xingbook/ting/lyric/LyricView;

    return-object v0
.end method

.method private j()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->t:Lcom/xingbook/park/receiver/RecommendReceiver;

    if-nez v0, :cond_0

    new-instance v0, Lcom/xingbook/park/receiver/RecommendReceiver;

    new-instance v1, Lcom/xingbook/ting/fragment/n;

    invoke-direct {v1, p0}, Lcom/xingbook/ting/fragment/n;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    invoke-direct {v0, v1}, Lcom/xingbook/park/receiver/RecommendReceiver;-><init>(Lcom/xingbook/park/receiver/b;)V

    iput-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->t:Lcom/xingbook/park/receiver/RecommendReceiver;

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->t:Lcom/xingbook/park/receiver/RecommendReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/receiver/RecommendReceiver;->a(Landroid/content/Context;)V

    return-void
.end method


# virtual methods
.method public a()I
    .locals 4

    const/16 v1, 0x8

    const/4 v2, 0x1

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->k:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->m:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->m:Landroid/widget/LinearLayout;

    invoke-virtual {v1, v2}, Landroid/widget/LinearLayout;->removeViewAt(I)V

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->m:Landroid/widget/LinearLayout;

    const/4 v2, 0x2

    invoke-virtual {v1, v0, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;I)V

    :cond_0
    return v3
.end method

.method public a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V
    .locals 1

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    if-nez v0, :cond_1

    invoke-static {}, Lcom/xingbook/c/n;->a()Lcom/xingbook/c/n;

    move-result-object v0

    :goto_0
    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/c/n;->j()Lcom/xingbook/service/download/b;

    move-result-object v0

    invoke-virtual {v0, p1, p2, p3, p4}, Lcom/xingbook/service/download/b;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)V

    :cond_0
    return-void

    :cond_1
    invoke-static {v0}, Lcom/xingbook/c/n;->a(Landroid/content/Context;)Lcom/xingbook/c/n;

    move-result-object v0

    goto :goto_0
.end method

.method public b()I
    .locals 4

    const/4 v0, 0x2

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    invoke-virtual {v2}, Landroid/widget/ImageView;->getVisibility()I

    move-result v2

    if-nez v2, :cond_0

    :goto_0
    return v0

    :cond_0
    iget-object v2, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i:Landroid/widget/ImageView;

    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->j:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->k:Landroid/view/View;

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V

    iget-object v2, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->m:Landroid/widget/LinearLayout;

    invoke-virtual {v2, v0}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v2

    iget-object v3, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->m:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v0}, Landroid/widget/LinearLayout;->removeViewAt(I)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->m:Landroid/widget/LinearLayout;

    const/4 v3, 0x1

    invoke-virtual {v0, v2, v3}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;I)V

    move v0, v1

    goto :goto_0
.end method

.method public c()Ljava/lang/String;
    .locals 2

    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "\u97f3\u9891\u64ad\u653e-\u5185\u5bb9"

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public e()Lcom/xingbook/ting/fragment/q;
    .locals 1

    new-instance v0, Lcom/xingbook/ting/fragment/q;

    invoke-direct {v0, p0}, Lcom/xingbook/ting/fragment/q;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    return-object v0
.end method

.method public onAttach(Landroid/app/Activity;)V
    .locals 0

    invoke-super {p0, p1}, Lcom/xingbook/ting/fragment/TingPlayFlipFragment;->onAttach(Landroid/app/Activity;)V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    const/4 v2, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a0224

    if-ne v0, v1, :cond_2

    invoke-virtual {p1}, Landroid/view/View;->isSelected()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const-string v1, "\u5df2\u63a8\u8350\u8fc7\u4e86\u54e6~"

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->i()V

    goto :goto_0

    :cond_2
    const v1, 0x7f0a0225

    if-ne v0, v1, :cond_4

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Landroid/view/View;->isSelected()Z

    move-result v1

    if-eqz v1, :cond_3

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->s()I

    move-result v0

    invoke-direct {p0, v1, v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->b(Ljava/lang/String;I)V

    goto :goto_0

    :cond_3
    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->s()I

    move-result v0

    invoke-direct {p0, v1, v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->a(Ljava/lang/String;I)V

    goto :goto_0

    :cond_4
    const v1, 0x7f0a0226

    if-ne v0, v1, :cond_5

    invoke-virtual {p1, v2}, Landroid/view/View;->setEnabled(Z)V

    new-instance v0, Lcom/xingbook/audio/c/c;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-static {v2}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v2

    invoke-direct {v0, v1, v2, p0}, Lcom/xingbook/audio/c/c;-><init>(Landroid/content/Context;Lcom/xingbook/audio/b/b;Lcom/xingbook/service/download/f;)V

    invoke-virtual {v0}, Lcom/xingbook/audio/c/c;->a()V

    goto :goto_0

    :cond_5
    const v1, 0x7f0a022a

    if-ne v0, v1, :cond_0

    const-string v0, "error"

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v0

    invoke-direct {p0, v0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->a(Lcom/xingbook/audio/b/b;)V

    goto :goto_0
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 3

    const v0, 0x7f030043

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    new-instance v1, Lcom/xingbook/ting/lyric/a;

    new-instance v2, Lcom/xingbook/ting/fragment/r;

    invoke-direct {v2, p0}, Lcom/xingbook/ting/fragment/r;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    invoke-direct {v1, v2}, Lcom/xingbook/ting/lyric/a;-><init>(Lcom/xingbook/ting/lyric/c;)V

    iput-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->e:Lcom/xingbook/ting/lyric/a;

    new-instance v1, Lcom/xingbook/ting/lyric/d;

    new-instance v2, Lcom/xingbook/ting/fragment/g;

    invoke-direct {v2, p0}, Lcom/xingbook/ting/fragment/g;-><init>(Lcom/xingbook/ting/fragment/TingPlayContentFragment;)V

    invoke-direct {v1, v2}, Lcom/xingbook/ting/lyric/d;-><init>(Lcom/xingbook/ting/lyric/f;)V

    iput-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->q:Lcom/xingbook/ting/lyric/d;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-static {v1}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v1

    invoke-direct {p0, v0, v1}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->a(Landroid/view/View;F)V

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->d:Lcom/xingbook/ting/lyric/LyricView;

    iget-object v2, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->q:Lcom/xingbook/ting/lyric/d;

    invoke-virtual {v1, v2}, Lcom/xingbook/ting/lyric/LyricView;->setLyric(Lcom/xingbook/ting/lyric/d;)V

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g()V

    return-object v0
.end method

.method public onDestroyView()V
    .locals 2

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->h()V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->p:Lcom/xingbook/ting/receiver/PlayerStateReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/PlayerStateReceiver;->b(Landroid/content/Context;)V

    invoke-super {p0}, Lcom/xingbook/ting/fragment/TingPlayFlipFragment;->onDestroyView()V

    return-void
.end method

.method public onPause()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->d:Lcom/xingbook/ting/lyric/LyricView;

    invoke-virtual {v0}, Lcom/xingbook/ting/lyric/LyricView;->c()V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->n:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->o:Lcom/xingbook/ting/receiver/TingOptionReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/receiver/TingOptionReceiver;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->t:Lcom/xingbook/park/receiver/RecommendReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/receiver/RecommendReceiver;->b(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->u:Lcom/xingbook/park/receiver/CollectReceiver;

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/receiver/CollectReceiver;->b(Landroid/content/Context;)V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->g()Lcom/xingbook/audio/b/b;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g:Landroid/widget/ImageView;

    invoke-virtual {v0}, Lcom/xingbook/audio/b/b;->t()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/park/d/a;->a(Ljava/lang/String;)Z

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setSelected(Z)V

    :goto_0
    invoke-super {p0}, Lcom/xingbook/ting/fragment/TingPlayFlipFragment;->onPause()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onPause(Landroid/support/v4/app/Fragment;)V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->b(Ljava/lang/String;)V

    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->g:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setSelected(Z)V

    goto :goto_0
.end method

.method public onResume()V
    .locals 2

    invoke-direct {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->f()V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/xingbook/ting/play/j;->a(Landroid/content/Context;)Lcom/xingbook/ting/play/j;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->h()I

    move-result v1

    if-lez v1, :cond_0

    invoke-virtual {v0}, Lcom/xingbook/ting/play/j;->d()I

    move-result v1

    if-ltz v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->n:Lcom/xingbook/ting/receiver/TingRetrieverReceiver;

    invoke-virtual {v1}, Lcom/xingbook/ting/receiver/TingRetrieverReceiver;->a()Lcom/xingbook/ting/receiver/d;

    move-result-object v1

    invoke-interface {v1}, Lcom/xingbook/ting/receiver/d;->a()V

    :cond_0
    iget-object v0, v0, Lcom/xingbook/ting/play/j;->g:Lcom/xingbook/ting/play/g;

    sget-object v1, Lcom/xingbook/ting/play/g;->d:Lcom/xingbook/ting/play/g;

    if-ne v0, v1, :cond_1

    sget-object v0, Lcom/xingbook/ting/play/MusicService;->s:Lcom/xingbook/ting/play/MusicService;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->d:Lcom/xingbook/ting/lyric/LyricView;

    sget-object v1, Lcom/xingbook/ting/play/MusicService;->s:Lcom/xingbook/ting/play/MusicService;

    invoke-virtual {v1}, Lcom/xingbook/ting/play/MusicService;->n()Landroid/media/MediaPlayer;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/ting/lyric/LyricView;->a(Landroid/media/MediaPlayer;)V

    :cond_1
    invoke-super {p0}, Lcom/xingbook/ting/fragment/TingPlayFlipFragment;->onResume()V

    invoke-static {p0}, Lcom/baidu/mobstat/StatService;->onResume(Landroid/support/v4/app/Fragment;)V

    invoke-virtual {p0}, Lcom/xingbook/ting/fragment/TingPlayContentFragment;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/a/a/g;->a(Ljava/lang/String;)V

    return-void
.end method
